$OpenBSD: patch-src_libretroshare_src_dbase_findex_cc,v 1.1 2017/05/18 14:47:27 espie Exp $
tr1 / non-tr1 dance

Index: src/libretroshare/src/dbase/findex.cc
--- src/libretroshare/src/dbase/findex.cc.orig
+++ src/libretroshare/src/dbase/findex.cc
@@ -31,7 +31,13 @@
 #include <stdlib.h>
 #include <algorithm>
 #include <iostream>
+#ifndef __clang__
 #include <tr1/unordered_set>
+using std::tr1::unordered_set;
+#else
+#include <unordered_set>
+using std::unordered_set;
+#endif
 #include <iomanip>
 #include <fstream>
 #include <sys/stat.h>
@@ -52,7 +58,7 @@ static const char FILE_CACHE_SEPARATOR_CHAR = '|' ;
  ****/
 
 static RsMutex FIndexPtrMtx("FIndexPtrMtx") ;
-std::tr1::unordered_set<void*> FileIndex::_pointers ;
+unordered_set<void*> FileIndex::_pointers ;
 
 void FileIndex::registerEntry(void*p)
 {
